package com.gulimall.order.feign;

import com.gulimall.order.vo.OrderItemsVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient("gulimall-cart")
public interface CartFeign {

    @GetMapping("/currentUserCartItems")
    List<OrderItemsVo> currentUserCartItems();

}
